package com.yzpc.service;

import com.yzpc.entity.User;

import java.util.List;

public interface IUserService {
    public User login(User user);
    public int insertUser(User user);
    public int updateUserById(User user);
    public int updateUserByName(User user);
    public void deleteUserById(Integer userId);
    public void deleteUserByName(String userName);
    public List<User> findUserList(User user);
    public User findUserById(Integer userId);
    public User findUserByName(String userName);
}